32a87ba20a0a6ff4b19beb1b5d4ff0ade2222697,src/ca/mcgill/cs/stg/jetuml/framework/SegmentationStyleFactory.java,Straight,getPath,#Edge#Graph#,167
Before Change
Point2D start = pEdge.getStart().getConnectionPoint(startSide.getDirection());
if( pGraph != null )
{
Position position = computePosition(pEdge, startSide, pGraph, true);
if( startSide.isEastWest() )
{
start = new Point2D.Double( start.getX(), start.getY()+ position.computeNudge(pEdge.getStart().getBounds().getHeight()));
}
else
{
start = new Point2D.Double( start.getX()+ position.computeNudge(pEdge.getStart().getBounds().getWidth()), start.getY());
}
}
After Change
Point2D start = pEdge.getStart().getConnectionPoint(startSide.getDirection());
if( pGraph != null )
{
start = computePointPosition(pEdge.getStart(), startSide, computePosition(pEdge, startSide, pGraph, true));
}
Side endSide = getAttachedSide(pEdge, pEdge.getEnd());